package com.ysyx.ysyx_payorder.service;

import com.alipay.api.AlipayApiException;
import com.ysyx.ysyx_payorder.dto.BaseDto;

import javax.servlet.http.HttpServletRequest;
import java.io.UnsupportedEncodingException;

/**
 * Created by IntelliJ IDEA.
 *
 * @description: xxxx接口/类
 * @author:郭宇轩
 * @create:2023/4/18 9:32
 */
public interface PayService {

    public BaseDto payment(String orderId) throws AlipayApiException;

    public String payCallback(HttpServletRequest request) throws AlipayApiException, UnsupportedEncodingException;

}
